<?php

namespace app\common\model;

use think\Model;

class Spec extends Model
{
    # 关联模型 关联specValue表
    public function specValue(){
        return $this->hasMany("spec_value","spec_id","id");
    }
}
